package com.gengzp.common.model.user.entity;

import com.gengzp.common.enums.GenderEnum;
import com.gengzp.common.model.generic.entity.GenericEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @ClassName SysUser
 * @Description 系统用户实体类
 * @Author gengzp
 * @Date 2025/9/8 15:13
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysUser extends GenericEntity {

    @Serial
    private static final long serialVersionUID = 4062543697195136296L;

    /**
     * 用户账号
     */
    private String userAccount;

    /**
     * 用户密码
     */
    private String userPassword;

    /**
     * 用户昵称
     */
    private String userNickname;

    /**
     * 用户性别
     * {@link GenderEnum}
     */
    private Integer userGender;

    /**
     * 用户个人介绍
     */
    private String userIntroduction;

    /**
     * 加密盐值
     */
    private String salt;

}
